package com.chushouya.product.dto.admin.product.evaluate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("模板估价项目单个添加DTO")
public class TempEvaluateItemAddSingleDTO {

    @ApiModelProperty(value = "模板ID", required = true)
    @NotNull(message = "模板ID不能为空")
    private Long tempId;

    @ApiModelProperty(value = "估价项目选项ID", required = true)
    @NotNull(message = "估价项目选项ID不能为空")
    private Long evaluateValueId;
}
